package com.prd.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author lizhaoyi
 * @date 2023/10/23 16:30
 * Description:
 */
@ApiModel(value = "用户注册对象",description = "用户注册请求对象")
@Data
public class UserRegisterRequest {

    @ApiModelProperty(value = "昵称",example = "xxxx")
    private String name;

    @ApiModelProperty(value = "密码",example = "12345")
    private String pwd;


    @ApiModelProperty(value = "头像",example = "https://oss.com")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty(value = "用户个人性签名",example = "人生需要动态规划，学习需要贪心算法")
    private String slogan;

    @ApiModelProperty(value = "0表示女，1表示男",example = "1")
    private Integer sex;

    @ApiModelProperty(value = "手机号", example = "1233221563")
    private String telephone;

    @ApiModelProperty(value = "验证码",example = "232343")
    private String code;

    @ApiModelProperty(value = "地址",example = "广东")
    private String address;

    @ApiModelProperty(value = "身份证号码",example = "22201235621225225")
    private String idCardNum;

    @ApiModelProperty(value = "发证机关",example = "广东")
    private String cardBase;

    @ApiModelProperty(value = "身份证图片",example = "https://oss.com")
    private String idCardImg;

}
